package com.business.system.controller;

import com.business.system.service.IAudtmsgService;
import com.business.system.vo.AllAuditMsg;
import com.common.untils.CommonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author pgx
 * @since 2022-09-05
 */
@RestController
@RequestMapping("/system/audtmsg")
public class AudtmsgController {
    @Autowired
    private IAudtmsgService iAudtmsgService;
    //审核记录页面回显
    @PostMapping("findAllAuditMsg")
    public CommonResult findAllAuditMsg(@RequestBody AllAuditMsg auditMsg){
        return iAudtmsgService.findAllAuditMsg(auditMsg);
    }
}
